package com.example.springboot3demo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@ConfigurationProperties(prefix = "ipn")
public class IpnProperty {
    public Map<String, String> secrets;

    public void setSecrets(Map<String, String> secrets) {
        this.secrets = secrets;
    }

    public Map<String, String> getSecrets() {
        return secrets;
    }
}
